package org.example.controller.order;

import com.bianmaba.spring.web.controller.CrudController;
import org.example.bean.entity.order.Order;
import org.example.service.order.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: example-web-framework-extends
 * @description:订单业务层
 * @author: Chenjiabin
 * @create: 2018-04-21 11:45
 **/
@RestController
@RequestMapping(value = {"management/order"})
public class MGTOrderController extends CrudController<Order, String> {

    @Autowired
    private IOrderService service;

    @Override
    protected IOrderService getService() {
        return service;
    }
}
